<table>
  <tbody>
    <tr>
      <th>Code:</th>
      <td><?php echo $mail->getCode() ?></td>
    </tr>
    <tr>
      <th>Name:</th>
      <td><?php echo $mail->getName() ?></td>
    </tr>
    <tr>
      <th>Title:</th>
      <td><?php echo $mail->getSubject() ?></td>
    </tr>
    <tr>
      <th>Content:</th>
      <td><?php echo $mail->getContent() ?></td>
    </tr>
    <tr>
      <th>Is active:</th>
      <td><?php echo $mail->getIsActive() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<a href="<?php echo url_for('mail/edit?code='.$mail->getCode()) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('mail/index') ?>">List</a>
